﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using Gueei.Gallery.Web.ViewModels;

namespace Gueei.Gallery.Web.Extensions
{
	public static class PagingHtmlExtensions
	{
		public static string RenderPagerUrl(this HtmlHelper helper, PagingViewModel currentPage, int pageToNavigate)
		{
			return "?Page=" + pageToNavigate + "&ItemsPerPage=" + currentPage.ItemsPerPage;
		}
	}
}